<?php


class PortfolioTagTable extends Doctrine_Table
{
    
    public static function getInstance()
    {
        return Doctrine_Core::getTable('PortfolioTag');
    }
    
    public function getAllTags()
    {
        // SELECT * FROM `portfolio_tag`
        $q = $this->createQuery()
                        ->orderBy('id ASC');

        return $q->execute();
    }
}